﻿using dx.User.Api.Controllers;
using Microsoft.AspNetCore.Mvc.ApplicationParts;

namespace dx.User.Api
{
    public static class ApiExt
    {
        public static IMvcBuilder AddModuleConctroller(this IMvcBuilder builder) 
        {
            builder.PartManager.ApplicationParts.Add(new AssemblyPart(typeof(UserManagerController).Assembly));
            return builder;
        }
    }
}
